package com.util;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import org.springframework.stereotype.Component;

@Component
public class F_user {
    private String pId;
    private String fPassword;
    private String cAccount;

    public F_user(){}
    public F_user(String pId, String fPassword, String cAccount) {
        this.pId = pId;
        this.fPassword = fPassword;
        this.cAccount = cAccount;
    }

    @JsonProperty("pId")
    public String getpId() {
        return pId;
    }

    public void setpId(String pId) {
        this.pId = pId;
    }

    @JsonProperty("fPassword")
    public String getfPassword() {
        return fPassword;
    }

    public void setfPassword(String fPassword) {
        this.fPassword = fPassword;
    }

    @JsonProperty("cAccount")
    public String getcAccount() {
        return cAccount;
    }

    public void setcAccount(String cAccount) {
        this.cAccount = cAccount;
    }
}
